package com.example.springiocdemo;

import com.example.springiocdemo.Demo.User;
import com.example.springiocdemo.Demo.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

@Controller
public class UserController {
    @Autowired
    private User user;

    public void sayHi(){
        System.out.println("hi,UserController~");

    }
}
